<!DOCTYPE HTML>

<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<form class="mt-5" method="post" th:action="@{/registertest}">
    <div class="form-group row">
        <label for="username" class="col-sm-2 col-form-label text-right">账号:</label>
        <div class="col-sm-10">
            <input type="text"
                   id="username" name="username" placeholder="请输入您的账号!" required>
        </div>
    </div>

    <div class="form-group row mt-4">
        <div class="col-sm-2"></div>
        <div class="col-sm-10 text-center">
            <button type="submit" class="btn btn-info text-white form-control">立即注册</button>
        </div>
    </div>
</form>

</body>
</html>